package com.string.practice;

public class Multiply {
    public static void main(String[] args) {
        String num1="15";
        String num2="30";
        System.out.println(change(num1)*change(num2)+" ");
    }
    public static int change(String a){
        char[] chars = a.toCharArray();
        int c=0;
        for (int i = 0; i < chars.length; i++) {
            c=c*10+(chars[i]-48);
//            System.out.println(c);
        }
        return c;
    }
}
